@import './variables.scss';

$--color-primary: $primary;
$--color-success: $success;
$--color-info: $info;
$--color-warning: $warning;
$--color-danger: $danger;
$--font-path: '~element-ui/lib/theme-chalk/fonts';
@import "~element-ui/packages/theme-chalk/src/index";

.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
}

.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}


// to fixed https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
}

// refine element ui upload
.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

// dropdown
.el-dropdown-menu {
  a {
    display: block
  }
}

// to fix el-date-picker css style
.el-range-separator {
  box-sizing: content-box;
}

.el-table td,
.el-table th .is-leaf,
.el-table--border,
.el-table--group {
  border-color: #bbb; 
}
.el-table--border::after,
.el-table--group::after,
.el-table::before {
  background-color:  #bbb;
}

.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
  .el-dialog__header{
    margin: 0;
    padding: 0;
    
    .el-dialog__headerbtn{
      color: white;
      margin: -10px;
      z-index: 9999;
      .el-icon-close{
        color: white;
      }
    }
  }
  .el-dialog__body{
    margin: 0;
    padding: 0;
  }
}

